<!-- 设备查询 -->

<template>
  <WebSearch path="device">
    <ParamCheckbox bind="statusList" :dict="GETTER.DEVICE_STATUS" hasRight />

    <ParamTree
      :label="`所属${CORE.MAP.ORGAN}`"
      bind="organizationId"
      :dict="CORE.ORGAN.DICT"
      :disabled="param.bindOrgan"
    />

    <ParamTree :label="`所在${CORE.MAP.REGION}`" bind="areaId" :dict="CORE.REGION.DICT" allName />

    <ParamTree :label="`${CORE.MAP.ASSET}分类`" bind="assetTypeId" :dict="$root.device_category_treeDict" />

    <ParamInput :label="`${CORE.MAP.ASSET}编号 / ${CORE.MAP.ASSET}名称`" bind="keyword" />
  </WebSearch>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'DeviceSearch',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb('device')],
}
</script>
